Skip to content

fix(about_py): correct PyTorch and LaTeX capitalization - #124

Merged
mmcky merged 1 commit into
mainfrom
fix/about-py-typos
Jun 19, 2026
Merged

fix(about_py): correct PyTorch and LaTeX capitalization#124
mmcky merged 1 commit into
mainfrom
fix/about-py-typos

Conversation

@mmcky

@mmcky mmcky commented May 14, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Fix `Pytorch` → `PyTorch` in NumPy alternatives section
  • Fix `LaTex` → `LaTeX` in Matplotlib description

Flagged by Copilot in #121 review. Both are pre-existing typos in the Persian translation, not regressions from any translation-sync PR.

Test plan

  • Preview build passes
  • Rendered HTML shows correct capitalization

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings May 14, 2026 10:16
@netlify

netlify Bot commented May 14, 2026

Copy link
Copy Markdown

Deploy Preview for majestic-griffin-10b166 ready!

Name Link
🔨 Latest commit a17027e
🔍 Latest deploy log https://app.netlify.com/projects/majestic-griffin-10b166/deploys/6a05a1155bb5bb0008bf818d
😎 Deploy Preview https://deploy-preview-124--majestic-griffin-10b166.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes two capitalization typos in the Persian translation of the “About Python” lecture, aligning common library/format names with their standard branding.

Changes:

  • Correct PytorchPyTorch in the NumPy alternatives section.
  • Correct LaTexLaTeX in the Matplotlib description.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions

Copy link
Copy Markdown

@github-actions
github-actions Bot temporarily deployed to pull request May 14, 2026 10:38 Inactive
@mmcky
mmcky merged commit 58dc111 into main Jun 19, 2026
11 checks passed
@mmcky
mmcky deleted the fix/about-py-typos branch June 19, 2026 03:33
mmcky added a commit that referenced this pull request Aug 20, 2026
…160)

Recovers the sync failures recorded as lecture-python-programming#610 and
#614, without re-translating anything.

Source PR #595 changed exactly two lines of about_py.md — the capitalisation
`Pytorch` -> `PyTorch` in two places. That fix is already present here,
applied by hand in #124 on 2026-06-19: the target carries `PyTorch` three
times and `Pytorch` zero times, matching source. The source has not moved on
this lecture since #595, so only the state file was stale.

A `translate forward` regeneration was attempted first and deliberately
discarded. It rewrote 266 lines to deliver a two-character casing fix that
was already applied, and it dropped translator content — the tool's own
triage flagged an added PyTorch/MATLAB sentence and a Java code comment as
"TARGET has additions that were lost during resync", and `git log` traces
that content to Zahra's 2025-10-30 commit (#14). Per the 2026-08-20 ruling on
QuantEcon/action-translation#276, a natively-translated lecture is not
regenerated when a deterministic repair will do.

`model`, `tool-version` and `section-count` are deliberately left recording
how the text was actually produced, since nothing was regenerated.

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants